package com.fwj.eurekaclientconsumer;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 傅文江
 * <p>
 * 时间： 2018-03-30 10:25
 * <p>
 * 描述：
 * <p>
 * 版权： Copyright © 2017 新道科技股份有限公司
 **/
@FeignClient("eureka-client-provider")
public interface RemoteInterface {
    /**
     * 获取公司信息
     *
     * @param companyName
     * @return
     */
    @RequestMapping(value = "/getCompanyInfoByProvider", method = RequestMethod.GET)
    String getCompanyInfoByProvider(@RequestParam("companyName") String companyName);
}